package com.hxzy.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "值在数据库是否存在模型")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ValueExistsDTO {

    @ApiModelProperty(value = "主键",required = false)
    private Long id;

    @ApiModelProperty(value = "值",required = true)
    @NotBlank(message = "值不能为空")
    private String value;


}
